package top.suven.base.http.admin.sec.vo.request;

import top.suven.base.http.admin.frame.config.BaseBean;

import javax.validation.constraints.Max;
import javax.validation.constraints.Pattern;

/**   
 * @Title: Role.java
 * @Description: 角色的视图请求对象
 * @author lixiangling
 * @date   2018/08/13 16:58:08
 * @version V1.0.0
 * ----------------------------------------------------------------------------
 *  modifyer    modifyTime                 comment
 *
 * ----------------------------------------------------------------------------
 *
 */
public class RoleRequestVo extends BaseBean {

	/** 角色编码 */
	private String roleCode;
	/** 角色名称 */
	@Pattern(regexp="^.{0,50}",message = "角色名称不能超过50位")
	private String roleName;
	/** 状态 */
	@Max(value=2147483647, message = "状态不能超过2147483647")
	private Integer status;
	/** 排序 */
	@Max(value=2147483647, message = "排序不能超过2147483647")
	private Integer reorder;
	/** 备注 */
	@Pattern(regexp="^.{0,500}",message = "备注不能超过500位")
	private String remark;
	/** 启用状态 启用-1、禁用-0 */
	@Max(value=2147483647, message = "启用状态 启用-1、禁用-0不能超过2147483647")
	private Integer enableStatus;


	
	public void setRoleCode(String roleCode){
		this.roleCode = roleCode;
	}
	
	public String getRoleCode(){
		return this.roleCode;
	}
	
	public void setRoleName(String roleName){
		this.roleName = roleName;
	}
	
	public String getRoleName(){
		return this.roleName;
	}
	
	public void setStatus(Integer status){
		this.status = status;
	}
	
	public Integer getStatus(){
		return this.status;
	}
	
	public void setReorder(Integer reorder){
		this.reorder = reorder;
	}
	
	public Integer getReorder(){
		return this.reorder;
	}
	
	public void setRemark(String remark){
		this.remark = remark;
	}
	
	public String getRemark(){
		return this.remark;
	}
	
	public void setEnableStatus(Integer enableStatus){
		this.enableStatus = enableStatus;
	}
	
	public Integer getEnableStatus(){
		return this.enableStatus;
	}
}